import request from '@/utils/request'
//所有跟商品规格相关的异步请求


//获取角色列表
export  function listOrder(data) {
    return request({
      url: '/order/listOrder',
      method: 'post',
      data   //只能是data
    })
  }


export  function detailsByuserId(data) {
  return request({
    url: '/user/OrderByUserId?userId='+data,
    method: 'get'
  })
} 
